Skip to content

docs: use 'recursively' in the description of rglob, and mention globs in the os equivalences#94954

Merged
miss-islington merged 2 commits into
python:mainfrom
nedbat:nedbat/rglob-docs
Jul 20, 2022
Merged

docs: use 'recursively' in the description of rglob, and mention globs in the os equivalences#94954
miss-islington merged 2 commits into
python:mainfrom
nedbat:nedbat/rglob-docs

Conversation

@nedbat

@nedbat nedbat commented Jul 18, 2022

Copy link
Copy Markdown
Member

The r in rglob stands for "recursively", so use the word in the description. Also, glob and rglob can usefully be mentioned as the pathlib equivalent of os.walk.

Automerge-Triggered-By: GH:brettcannon

@nedbat nedbat requested a review from brettcannon as a code owner July 18, 2022 10:51
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Jul 18, 2022
@nedbat nedbat added docs Documentation in the Doc dir skip news skip issue and removed docs Documentation in the Doc dir skip news labels Jul 18, 2022
Comment thread Doc/library/pathlib.rst Outdated
@miss-islington

Copy link
Copy Markdown
Contributor

Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 6e2fbda into python:main Jul 20, 2022
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @nedbat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry @nedbat, I had trouble checking out the 3.11 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 6e2fbdab9220e20bc0e7f9e20987bb1e18532585 3.11

@miss-islington miss-islington self-assigned this Jul 20, 2022
@bedevere-bot

Copy link
Copy Markdown

GH-95071 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jul 20, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 20, 2022
…s in the os equivalences (pythonGH-94954)

The r in `rglob` stands for "recursively", so use the word in the description. Also, glob and rglob can usefully be mentioned as the pathlib equivalent of os.walk.

Automerge-Triggered-By: GH:brettcannon
(cherry picked from commit 6e2fbda)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
@brettcannon

Copy link
Copy Markdown
Member

@nedbat do you care enough to try and fix the 3.11 backport failure? If you are I can leave the 3.10 PR open for merging. Otherwise I'm also fine making this a 3.12 improvement alone.

@nedbat

nedbat commented Jul 20, 2022

Copy link
Copy Markdown
Member Author

Let's just go with 3.12. Thanks.

@hauntsaninja hauntsaninja removed the needs backport to 3.11 only security fixes label Dec 24, 2022
@nedbat nedbat deleted the nedbat/rglob-docs branch May 15, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants